2006-07-19 Richard Hult <richard@imendio.com>
* gtk/gtkdnd-quartz.c (register_types): Reindent.
* gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
autorelease pool.
+2006-07-19 Richard Hult <richard@imendio.com>
+
+ * gtk/gtkdnd-quartz.c (register_types): Reindent.
+
+ * gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
+ autorelease pool.
+
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c
+2006-07-19 Richard Hult <richard@imendio.com>
+
+ * gtk/gtkdnd-quartz.c (register_types): Reindent.
+
+ * gtk/gtkclipboard-quartz.c (gtk_clipboard_set_contents): Add
+ autorelease pool.
+
2006-07-19 Richard Hult <richard@imendio.com>
* gdk/quartz/GdkQuartzWindow.c
{
GtkClipboardOwner *owner;
NSArray *types;
+ NSAutoreleasePool *pool;
+
+ pool = [[NSAutoreleasePool alloc] init];
owner = [[GtkClipboardOwner alloc] initWithClipboard:clipboard];
+
types = _gtk_quartz_target_entries_to_pasteboard_types (targets, n_targets);
clipboard->user_data = user_data;
[clipboard->pasteboard declareTypes:types owner:owner];
+ [pool release];
+
return true;
}
if (!nswindow)
return;
- pool= [[NSAutoreleasePool alloc] init];
+ pool = [[NSAutoreleasePool alloc] init];
types = _gtk_quartz_target_list_to_pasteboard_types (site->target_list);
[nswindow registerForDraggedTypes:types];